/*
 * IPS114.h
 *
 *  Created on: Jun 19, 2021
 *      Author: huangdou
 */

#ifndef CODE_IPS114_H_
#define CODE_IPS114_H_
#include "SEEKFREE_IPS114_SPI.h"
#include "SEEKFREE_UART_7725.h"
#include "IMG_ANALYZE.h"
#include "SPEED_PID.h"
#define INFO_AREA_X 100
#define DIFF_ORDER 0
#define STAT_ORDER 1
#define LS_ORDER 2
#define RS_ORDER 3
#define CURV_ORDER 4
#define SPEED_ORDER 4
#define WORD_LEN 8
//functions
void ips_show_all();
void ips_init();
void show_pic();
void show_int(char* desc, int8 data, uint16 x, uint16 y);
void show_float(char * desc, float data, uint16 x, uint16 y);
void show_string(char* desc, char* data, uint16 x, uint16 y);
void show_diff();
void show_stat();
//variables
extern uint8 ips_update_flag;
#endif /* CODE_IPS114_H_ */
